﻿/*
 * Created by SharpDevelop.
 * User: IEscarro
 * Date: 8/25/2009
 * Time: 5:05 PM
 * 
 * To change this template use Tools | Options | Coding | Edit Standard Headers.
 */

using System;
using System.IO;
using System.Windows.Forms;
using System.Collections.Generic;
using Miming.Model;

namespace Miming.Util
{
	/// <summary>
	/// Description of ApplicationUtility.
	/// </summary>
	public class ApplicationUtility
	{
		public static string ProductName {
			get { return Application.ProductName; }
		}
		
		public static string ProductVersion {
			get { return Application.ProductVersion; }
		}
		
		public static string ProductNameAndVersion {
			get { return ProductName + " " + ProductVersion; }
		}
		
		public static string RootDirectory {
			get { return Directory.GetCurrentDirectory(); }
		}
		
		public static string DocDirectory {
			get { return Path.Combine(RootDirectory, "../doc"); }
		}
		
		public static IList<ItemType> ItemTypes {
			get {
				return new List<ItemType>(
					new ItemType[] {
						new Gui.Items.InventoryPartType(),
						new Gui.Items.ServiceItemType()
					}
				);
			}
		}
		
		public ApplicationUtility()
		{
		}
	}
}
